package com.patrrr.Note;

public class NoteBean extends Bean {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8239913157307411773L;
	/**
	 *  所在文件夹ID
	 */
	private int folderId;
	/**
	 * 内容
	 */
	private String content;
	/**
	 * 提醒时间
	 */
	private long alertTime;
	/**
	 * 创建时间
	 */
	private long createTime;
	/**
	 * 颜色
	 */
	private int color;
	/**
	 * widgetId
	 */
	private int widgetId;

	/**
	 * 获取所在文件夹ID
	 * 
	 * @return
	 */
	public int getFolderId() {
		return folderId;
	}

	/**
	 * 设置文件夹ID
	 * 
	 * @param folderId
	 */
	public void setFolderId(int folderId) {
		this.folderId = folderId;
	}

	/**
	 * 获取内容
	 * 
	 * @return
	 */
	public String getContent() {
		return content;
	}

	/**
	 * 设置内容
	 * 
	 * @param content
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * 获取提醒时间
	 * 
	 * @return
	 */
	public long getAlertTime() {
		return alertTime;
	}

	/**
	 * 设置提醒时间
	 * 
	 * @param alertTime
	 */
	public void setAlertTime(long alertTime) {
		this.alertTime = alertTime;
	}

	/**
	 * 获取创建时间
	 * 
	 * @return
	 */
	public long getCreateTime() {
		return createTime;
	}

	/**
	 * 设置创建时间
	 * 
	 * @param createTime
	 */
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	/**
	 * 获取颜色代码
	 * 
	 * @return
	 */
	public int getColor() {
		return color;
	}

	/**
	 * 设置颜色代码
	 * 
	 * @param color
	 */
	public void setColor(int color) {
		this.color = color;
	}

	/**
	 * 获取widgetId
	 * 
	 * @return
	 */
	public int getWidgetId() {
		return widgetId;
	}

	/**
	 * 设置widgetId
	 * 
	 * @param widgetId
	 */
	public void setWidgetId(int widgetId) {
		this.widgetId = widgetId;
	}

	@Override
	public String toString() {
		return "NoteBean [alertTime=" + alertTime + ", color=" + color
				+ ", content=" + content + ", createTime=" + createTime
				+ ", folderId=" + folderId + ", widgetId=" + widgetId + "]";
	}
	
}
